Under the national strategy of carbon peak and carbon neutrality in China,utilizing CO2 for enhanced oil recovery becomes an important means of CO2 storage in oilfields. However, there are still challenges in the safe storage and transportation of liquid CO2,in which gas impurities have a great influence on the thermodynamic properties of liquid CO2.Seven common gas impurities were determined by the analysis of CO2 samples obtained in the field,and the changes in physical properties of the CO2 samples containing impurities were simulated by HYSYS and the molecular dynamics simulation method.The physical property diagrams were plotted and compared with those of pure CO2.The results reveal that all seven impurities can enlarge the gas?liquid coexisting region in CO2 phase diagrams,but the enlargement extent differs. The impurities mainly expand the gas?liquid coexisting region by changing the bubble point line,while the dew point line has little change.It is found by molecular dynamics simulation that the electrostatic potential energy plays a dominant role in the CO2 mixture containing C2H6,C3H8,and C2H4.Therefore,compared with the results of the mixture containing H2,CO,CH4,and carbonyl sulfur (OCS),its macroscopic physical properties are less affected by temperature and pressure fluctuations.